package nus.iss.laps.dao;

import java.sql.SQLException;
import java.util.List;

import nus.iss.laps.model.Holiday;

public interface IHolidayDAO {
	public boolean addHoliday(Holiday holiday) throws SQLException;
	public boolean updateHoliday(Holiday holiday) throws SQLException;
	public boolean deleteHoliday(String holiday) throws SQLException;
	public Holiday getHoliday(String holiday) throws SQLException;
	public List<Holiday> getAllHoliday() throws SQLException;
	public boolean isExisted(String holiday) throws SQLException;
	public int getDays(String startDate, String endDate) throws SQLException;
	public List<Holiday> getHolidaysByMonth(String month) throws SQLException;
}
